<a class="button" href="<?php echo $view->url(array('controller'=>'Index','action'=>'recoverPass'))?>"><div class="smartButton">Back</div></a>
<?php if($view->res===false):?>
    <div class="errorBox ">
        <div class="msgBoxContent errorIcon">
            <?php foreach($view->errors as $error):?>
            <p> <?php echo $view->TrHelper()->_($error); ?><br></p>
            <?php endforeach; ?>
        </div>
        </div>
<?php else : ?>
    <div class="successBox ">
        <div class="msgBoxContent successIcon">
            <p><?php echo $view->TrHelper()->_('your password has been successfully sent to your email'); ?><br></p>
        </div>
        </div>
<?php endif; ?>